public class ArithmeticExercise2 {
    public static void main(String[] args){
        int i = 1;
        int j = i++;
        /*
        先取i的值1，
        i自增为2
        然后把1赋值给j
         */
        System.out.println("i = " + i);//i=2
        System.out.println("j = " + j);//j=1

        int k = i++ * ++j + ++i * j++;
        /*
参与*或+的计算值   2  *  2  +   4  * 2
               i=3   j=2     i=4 j=3
         */

        System.out.println("i = " + i);//i=4
        System.out.println("j = " + j);//j=3
        System.out.println("k = " + k);//k=12
    }
}
